YNQ  YNQ-1.6.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
CMLinkedListArray Struct Reference

#include <cmapi.h>

Data Fields

void ** items
 
CMList memoryPool
 
NQ_UINT currentPosition
 
NQ_UINT numberOfItems
 
NQ_UINT32 divider
 
void * context
 

Detailed Description

This struct uses 2 data types:

  1. CMList memoryPool - Each time a new data has to be stored, we check if there are available items in this memoryPool, if yes, we use the sorted array from section 2 to point to that data and it is removed from this memoryPool, if not, we add a new node to this memoryPool and repeat the scenario from above.
  2. void **items - This is a cyclic sorted array of pointers. Each time a new data has to be stored, we query the memoryPool from above for a new memory block and point to the returned block, when done we return the memory block back to the memoryPool.

Field Documentation

void** CMLinkedListArray::items
CMList CMLinkedListArray::memoryPool
NQ_UINT CMLinkedListArray::currentPosition
NQ_UINT CMLinkedListArray::numberOfItems
NQ_UINT32 CMLinkedListArray::divider
void* CMLinkedListArray::context

The documentation for this struct was generated from the following file: